<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="external nofollow" target="_blank"  rel="stylesheet">

    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js" rel="external nofollow" ></script>


    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
<H1>支付测试</H1>
<hr>
<div id="bb" class="form-container">
    <form id="form" action="order/alipay" method="post">
        *商户订单 :
        <input type="text" name="outTradeNo" value="dzcp100010008"><br>
        *订单名称 :
        <input type="text" name="subject" value="女性关爱险"><br>
        *付款金额 :
        <input type="text" name="totalAmount" value="85" ><br>
        *商品描述 :
        <input type="text" name="body" value="女性专属，最懂女人的守护神"><br>
        <input type="button" value="支付宝支付" onclick="submitForm('order/alipay')">
        <input type="button" value=" 微信支付  " onclick="submitForm('order/wexpay')">
    </form>
</div>
</body>


<script language="javascript">

    function submitForm(action) {


        document.getElementById("form").action = action
        document.getElementById("form").submit()
    }
</script>

<style>
    .form-container {
        padding-top:10px;
    }
    input {
        margin:10px;

    }
</style>
</html>